package com.unlcn.ils.kas.dao.model.order;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 百度异常信息
 * </p>
 *
 * @author wanlei
 * @since 2018-12-06
 */
@TableName("baidu_exception")
public class BaiduException extends Model<BaiduException> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * url
     */
	private String url;
    /**
     * 待解析的地址
     */
	private String address;
    /**
     * 起点经度
     */
	@TableField("origin_longitude")
	private String originLongitude;
    /**
     * 起点纬度
     */
	@TableField("origin_latitude")
	private String originLatitude;
    /**
     * 终点经度
     */
	@TableField("destination_longitude")
	private String destinationLongitude;
    /**
     * 终点纬度
     */
	@TableField("destination_latitude")
	private String destinationLatitude;
    /**
     * 异常信息
     */
	@TableField("exception_msg")
	private String exceptionMsg;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 修改时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getOriginLongitude() {
		return originLongitude;
	}

	public void setOriginLongitude(String originLongitude) {
		this.originLongitude = originLongitude;
	}

	public String getOriginLatitude() {
		return originLatitude;
	}

	public void setOriginLatitude(String originLatitude) {
		this.originLatitude = originLatitude;
	}

	public String getDestinationLongitude() {
		return destinationLongitude;
	}

	public void setDestinationLongitude(String destinationLongitude) {
		this.destinationLongitude = destinationLongitude;
	}

	public String getDestinationLatitude() {
		return destinationLatitude;
	}

	public void setDestinationLatitude(String destinationLatitude) {
		this.destinationLatitude = destinationLatitude;
	}

	public String getExceptionMsg() {
		return exceptionMsg;
	}

	public void setExceptionMsg(String exceptionMsg) {
		this.exceptionMsg = exceptionMsg;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "BaiduException{" +
			", id=" + id +
			", url=" + url +
			", address=" + address +
			", originLongitude=" + originLongitude +
			", originLatitude=" + originLatitude +
			", destinationLongitude=" + destinationLongitude +
			", destinationLatitude=" + destinationLatitude +
			", exceptionMsg=" + exceptionMsg +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			"}";
	}
}
